//part1:C02:ex2.35.cpp
#include <iostream>

int main(void)
{
    using namespace std;
    const int i = 42;
    auto j = i;
    const auto &k  = i;
    auto *p = &i;
    const auto j2 = i, &k2 = i;
    cout << typeid(i).name() << endl;
    cout << typeid(j).name() << endl;
    cout << typeid(k).name() << endl;
    cout << typeid(p).name() << endl;
    cout << typeid(j2).name() << endl;
    cout << typeid(k2).name() << endl;

    return 0;
}